package com.un.ebs.workflow.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/5/23 23:01
 */
@Getter
public enum GatewayTypeEnum implements IEnum {

    Start(0, "开始"),
    Default(1, "常规顺序流"),
    End(99, "结束");

    @EnumValue
    private final int code;
    private final String desc;

    GatewayTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
